package com.holly.mapper;

import com.holly.pojo.EmpLoginLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author holly
 * @create 2025-07-08 15:39
 */
@Mapper
public interface EmpLoginLogMapper {

    //插入登录日志
    @Insert("insert into emp_login_log(username,password,login_time,is_success,jwt,cost_time) " +
            "values(#{username}, #{password},#{loginTime},#{isSuccess},#{jwt},#{costTime})")
    void insert(EmpLoginLog empLoginLog);
}
